#############################################################################
#
#                   Copyright (C) 1993 SciTech Software
#                           All rights reserved.
#
# Descripton:   Makefile definitions for compiling SciTech Software products.
#               Watcom C/C++^32 and DOS4GW version.
#
# $Id: watcom.def 1.1 1994/03/06 07:48:03 kjb Exp $
#
#############################################################################

# The following will need to be changed to reflect your normal include file
# and library directories.

INC_DEST        = \bc\include\myinc # Destination for include files
LIB_DEST        = d:\watcom\mylib   # Destination for library files

CC              = wcl386            # Name of C compiler
ASM             = tasm              # Name of assembler
LIB             = wlib              # Name of librarian
LIB_FLAGS       = -q

!if $d(debug)
CC_DOPT         = -d2               # Turn on debugging for C compiler
ASM_DOPT        = /ZI               # Turn on debugging for assembler
!endif

!if $d(optimize)
CC_OPT          = -oneatx -s -zp4 -4r # Turn on full optimisation
OPTIMIZE        = -Doptimize
!endif

# Only compile for the 32 bit memory model

LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__X386__
CC_FLAGS        = -zq -w4 -DDOS4GW $(CC_DOPT) $(CC_OPT)
COMPILE_ONLY    = -c
RSP_OPT         = -w
COMPILER        = -Dwatcom

